@extends('layouts.app')

@section('content')


 <script src="{{ URL::asset('/') }}js/jedate/jedate.js"></script>

    <div class="content">
        <div class="header">
            <ul class="breadcrumb">
                <li>行政案件</li>
                <li><a href="javascript:;">限期整改</a> </li>
            </ul>
        </div>
        <div class="main-content">
            <ul class="nav nav-tabs">
                <li class="active"><a href="#home" data-toggle="tab">{{$case->case_name}} - 限期整改</a></li>
            </ul>

            <div class="row">
                <div class="col-md-6">
                    <br>
                    <div id="myTabContent" class="tab-content">
                        <div class="tab-pane active in" id="home">
                            <form id="tab" class="form-horizontal" method="post">
                                <input type="hidden" name="_token" value="{{ csrf_token() }}">


                                <div class="form-group">
                                    <label for="input1" class="col-sm-2 control-label">整改开始时间</label>
                                    <div class="col-sm-10">
                                        <input type="text" class="form-control" name="start" id="start" placeholder="整改开始时间" value="" readonly>
                                    </div>
                                </div>


                                <div class="form-group">
                                    <label for="input1" class="col-sm-2 control-label">整改预计结束时间</label>
                                    <div class="col-sm-10">
                                        <input type="text" class="form-control" name="end" id="end" placeholder="整改预计结束时间" value="" readonly>
                                    </div>
                                </div>




                                @if ($case->is_deadline	 !== 1)
                                <div class="btn-toolbar list-toolbar btn-toolbar2">
                                    <input type="submit" value="提交生成通知书" class="btn btn-primary"  id="ok">
                                </div>
                                @endif

                            </form>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>





    <script>
        /*时间*/
        jeDate({
            dateCell: "#start",
            format: "YYYY年MM月DD日",
            isinitVal: true,
            isTime: true, //isClear:false,
            minDate: "2014-09-19 00:00:00",
            okfun: function (val) {
            }
        })

        jeDate({
            dateCell: "#end",
            format: "YYYY年MM月DD日",
            isinitVal: true,
            isTime: true, //isClear:false,
            minDate: "2014-09-19 00:00:00",
            okfun: function (val) {
            }
        })
    </script>

  <!--   <script>
      $('#ok').click(function(){
          var i=window.confirm("确认提交,提交后将不可修改!");
          if(i==0){
              return false;
          }
      });
    </script> -->







@stop
